package xian.woniu.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import xian.woniu.util.ResultVO;


@FeignClient("sun-auth")
public interface IUserService {

    @PostMapping(value = "author/verify", consumes = {"text/plain"})
    ResultVO verify(@RequestBody String token);
}
